package pojo;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;

public class Person {

	private String name;
	
	@JSONField(deserialize=false, serialize=false)
	private int age;
	
	@JSONField(name="birtyDay")
	private Date birth;
	
	private Sex sex;
	
	public static enum Sex{
		
		man,
		woman
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public Date getBirth() {
		return birth;
	}

	public void setBirth(Date birth) {
		this.birth = birth;
	}

	public Sex getSex() {
		return sex;
	}

	public void setSex(Sex sex) {
		this.sex = sex;
	}
}
